From: Lars Ingebrigtsen Date: Fri, 14 Jan 2022 11:10:46 +0000 (+0100) Subject: Skip ffap test on some systems X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~3493 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=edcb1f3a3b3580078bdf0e314208bb485355a413;p=emacs.git Skip ffap test on some systems --- diff --git a/test/lisp/ffap-tests.el b/test/lisp/ffap-tests.el index c5032a60a1a..0fdc31e8b61 100644 --- a/test/lisp/ffap-tests.el +++ b/test/lisp/ffap-tests.el @@ -142,6 +142,8 @@ left alone when opening a URL in an external browser." (kill-buffer (call-interactively #'find-file-at-point))))))) (ert-deftest ffap-test-path () + (skip-unless (file-exists-p "/bin")) + (skip-unless (file-exists-p "/usr/bin")) (with-temp-buffer (insert "/usr/bin:/bin") (goto-char (point-min))